home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / prog_gen / sb402.zip / SAMPLE1.SPJ < prev    next >
Text File  |  1996-01-05  |  7KB  |  116 lines

  1. # Setup Builder generated ProJect file - Do not modify
  2.  
  3. FILETYPE=BUILDER_PROJECT
  4. FILEVER=312
  5. PROJDIR=C:\SETUP\SAMPLES\
  6. APPNAME=Test
  7. DEFPATH=C:\TEST
  8. PROJATTRIBS=1,1,1,1
  9. LICENSEINI=%Application%.INI
  10. DISKLABEL=DISK
  11. COMMENTS=//~~// This is a sample project to demonstrate~~// a number of the features supported by~~// Setup Builder~~//
  12. SETUPFILE=SETUP.INF
  13. ENCRIPT=0
  14. RESERVE=16
  15. SPLITSIZE=100
  16. SPACEREQD=167
  17. BACKDROP1=2,c:\windows\arches.bmp
  18. BACKDROP2=0,
  19. BACKDROP3=1,
  20. BACKDROP4=4,c:\windows\leaves.bmp
  21. BACKATTR1=30,255,0,0
  22. BACKTEXT1=Top left text RED
  23. BACKATTR2=40,0,255,0
  24. BACKTEXT2=Bottom left text GREEN
  25. BACKATTR3=50,0,0,255
  26. BACKTEXT3=|Top right text BLUE
  27. BACKATTR4=60,255,255,0
  28. BACKTEXT4=Bottom right text YELLOW|
  29. PMGROUP=0,1,0,1,0,0
  30. GRPCAPFILE=%Application%
  31. SETUPMSG=Initialising %Application% Setup...
  32. CAPTION=Setup
  33. NEXTDISK=Please insert the diskette labelled '$'
  34. WELCOME1=Welcome to the %Application% Installation Program.
  35. WELCOME2=This program will install the %Application% software in the directory you specify on your hard disk.
  36. ABOUT=(Compuserve ID: 100105,536)||Setup is supplied with the Setup Builder|software and is the copyright of G.Plowman
  37. DEINST1=Please make a selection from the following options:
  38. DEINST2=Install the %Application% software
  39. DEINST3=Un-Install the %Application% software
  40. DEINST4=The %Application% software is about to be removed from your machine.||All files, directories and the appropriate Program Manager Group will be deleted.||Are you sure you wish to continue ?
  41. DEINST5=De-installation aborted - the %Application% software has not been deinstalled.
  42. DEINST6=The %Application% software has been successfully de-installed.
  43. DEINST7=To re-install the %Application% software you should re-run this installation program.
  44. DEINST8=The %Application% software has not been correctly installed.
  45. DEINST9=The De-installation procedure is unable to de-install the %Application% software.
  46. ASKPATH1=The install program will copy the %Application% files into the following directory:
  47. SPACECHECK1=The %Application% software requires $ bytes of disk space and there is only %Space% bytes free on your %InstallDrive% drive.||Do you wish to continue to install the software ?
  48. INUSE1Setup has found that the file:||$||is already in use by Windows.||Installation will be terminated.
  49. MAKEGRP=Setup can create a Program Manager group|for the %Application% application.||Do you wish to create a Program|Manager group and icons ?
  50. LICENSE1=Please enter the following licensing information for the %Application% software:
  51. ERROR1=An error occured during installation of the %Application% software.
  52. ERROR2=|The %Application% software has not been fully installed.
  53. QUIT1=Installation has been terminated. You should rerun this installation program at a later time to install %Application%.
  54. QUIT2=|The %Application% software has not been installed.
  55. SUCCESS1=|%Application% installation has been successfully completed.
  56. SUCCESS2=
  57. PROJDATE=19/01/1996
  58. PROJTIME=22:58:39
  59. USERCODE1=// This is where you insert script code to initialise~~// variables at the begining of the script for later use~~// by your extra script code.
  60. USERCODE2=// This is where you insert script code to do things~~// prior to file copying, but after the 'ASKPATH' dialog.~~~~// In this example, we save the installation path specified in~~// the 'ASKPATH' dialog so that the de-install feature can~~// use it at a later date. We also save the application version~~// number for future use, although we don't use it in this script.~~// Future install scripts might need to know what version of an~~// app is installed before overwriting with a new version. For~~// example, there might be file format differences.~~~~// Save the application version number~~WriteProfileString("Install", "Version", "1.00", "%IniFile%")~~~~// Create an extra directory - an example of where an application~~// might need sub directories created under its main directory~~MkDir("%InstallPath%TEMP")~~
  61. USERCODE3=// This is where you insert Setup Script to do things~~// after all files have been copied from diskette.~~// Normally, this will be any manual copying of files such as~~// those specified in their attributes as 'Do not copy'.~~// Note that 'Do not copy' files are always placed on the~~// last diskettes of your installation suite so that when the~~// script processing reaches this stage, the correct diskette~~// is already in the drive.~~// You might want to check for file presence and ask for the~~// next disk if you have 'Do not copy' files spreading across~~// more than one diskette.
  62. USERCODE4=// This is where you insert Setup Script to do things~~// after Program Manager group creation, for example,~~// manually creating some more icons~~MakeIcon("Notepad2", "%InstallPath%notepad.exe")
  63. USERCODE5=// This is where you insert script code to do things at the~~// end of an installation, for example, running notepad.exe~~// to show a file. This appears after the 'Install Complete/Success' dialog.~~MessageBox("Do you want to view your AUTOEXEC.BAT ?", "Setup", MB_YESNO, MB_ICONQUESTION)~~IF %ERROR% == IDYES WinExec("%InstallPath%notepad.exe c:\autoexec.bat")
  64. USERCODE6=// Some parts of application de-installation must be coded manually using~~// the Setup Script language because every application installation is~~// different and requires different de-installation procedures to be used.~~// This only applies to non-standard activities done via script code during~~// the installation procedure - such as special directories being created.~~// The de-install will automatically remove all files installed, the main~~// application directory, the application .INI file and any program manager~~// group/icons which may have been created~~~~// Remove the application sub directories~~Delete("%InstallPath%TEMP\*.*")~~RmDir("%InstallPath%TEMP")~~
  65. USERCODE7=
  66. USERCODE8=
  67. USERCODE9=
  68. USERCODE10=
  69. USERCODE11=
  70. USERCODE12=
  71. FILE1=C:\AUTOEXEC.BAT
  72. TARGET1=%InstallPath%
  73. COMMENT1=Copying: Windows Demo Component Files
  74. ICONTEXT1=
  75. PARAMS1=
  76. ICONINFO1=0,
  77. DEFPATH1=
  78. OVERTEXT1=
  79. FLAGS1=0,0,0,0,0,1,0,0,0,0,
  80. FILE2=C:\CONFIG.SYS
  81. TARGET2=%InstallPath%
  82. COMMENT2=
  83. ICONTEXT2=
  84. PARAMS2=
  85. ICONINFO2=0,
  86. DEFPATH2=
  87. OVERTEXT2=
  88. FLAGS2=0,0,0,0,1,1,0,0,0,0,
  89. FILE3=C:\WINDOWS\NOTEPAD.EXE
  90. TARGET3=%InstallPath%
  91. COMMENT3=
  92. ICONTEXT3=Notepad
  93. PARAMS3=c:\autoexec.bat
  94. ICONINFO3=3,progman.exe
  95. DEFPATH3=c:\temp
  96. OVERTEXT3=
  97. FLAGS3=0,0,1,1,0,1,0,1,1,0,
  98. FILE4=C:\WINDOWS\CARDFILE.EXE
  99. TARGET4=%InstallPath%
  100. COMMENT4=Copying: Windows Demo Component Files
  101. ICONTEXT4=Card File
  102. PARAMS4=
  103. ICONINFO4=0,
  104. DEFPATH4=
  105. OVERTEXT4=Setup has found that the file '$' already exists.||Are you sure you wish to overwrite it ?
  106. FLAGS4=0,0,1,0,0,1,0,1,1,0,
  107. FILE5=C:\WINDOWS\CALC.EXE
  108. TARGET5=%InstallPath%
  109. COMMENT5=Copying: Windows Demo Component Files
  110. ICONTEXT5=Calculator
  111. PARAMS5=
  112. ICONINFO5=0,calc.exe
  113. DEFPATH5=
  114. OVERTEXT5=Setup has found that the file '$' already exists.||Are you sure you wish to overwrite it ?
  115. FLAGS5=0,0,1,0,0,1,0,1,1,0,
  116.